package Android.SinYateClient;

import java.util.ArrayList;

import org.w3c.dom.Document;

public class Assignment {
	private String deviceid;
	private String status;
	private String assignmenttype;
	private ArrayList<Task> tasklist;
	// in c# XMLDocument !
	private Document xml;
	private String testid;

	public Assignment() {
		tasklist = new ArrayList<Task>();

	}

	public void setTestId(String testid) {
		this.testid = testid;
	}

	public String getTestId() {
		return testid;
	}

	public void setDeviceId(String id) {
		deviceid = id;
	}

	public void setAssignmentType(String type) {
		this.assignmenttype = type;
	}

	public void setAssignmentStatus(String status) {
		this.status = status;
	}

	public void addTask(Task task) {
		tasklist.add(task);
	}

	public String getDeviceId() {
		return deviceid;
	}

	public String getAssignmentType() {
		return assignmenttype;
	}

	public ArrayList<Task> getTaskList() {
		return tasklist;
	}

	public String getStatus() {
		return status;
	}

	public void setXML(Document xml) {
		this.xml = xml;
	}

	public Document getXML() {
		return xml;
	}

}
